import Vue from 'vue'
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import App from './App.vue'
import './assets/css/global.css'
import router from './router/router.js'
import 'es6-promise/auto'

import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts;

import axios from 'axios'
// axios.defaults.baseURL = 'http://3d97478t96.qicp.vip/';
axios.defaults.baseURL = 'http://127.0.0.1:8080/';
Vue.prototype.$axios = axios;

import Vuex from 'vuex'
import store from './store/store.js'
import './assets/font/iconfont.css'
import './assets/font/iconfont.js'
import animated from 'animate.css'
import $ from 'jquery'

Vue.prototype.$ = $;
Vue.config.productionTip = false;

Vue.use(ElementUI);
Vue.use(animated);
Vue.use(Vuex);
new Vue({
  render: h => h(App),
  router,
  store,
}).$mount('#app');
